﻿using System;
using System.Collections.Generic;

namespace TowerDefence_Zombie.Data
{
    public class TowerStarData
    {
        private DRTowerStar dRTowerStar;

        public int Id
        {
            get
            {
                return dRTowerStar.Id;
            }
        }

        public string Name
        {
            get
            {
                return LanguageManager.GetLocalizedString(dRTowerStar.Name);
            }
        }

        public string IconPath
        {
            get
            {
                return dRTowerStar.Icon;
            }
        }

        public string Description
        {
            get
            {
                return dRTowerStar.Dec;
            }
        }

        public float FireRateAddition
        {
            get
            {
                return dRTowerStar.FireRateAddition;
            }
        }

        public float DamageAddition
        {
            get
            {
                return dRTowerStar.DamageAddition;
            }
        }

        public float RangeAddition
        {
            get
            {
                return dRTowerStar.RangeAddition;
            }
        }

        public float SpeedDownRateAddition
        {
            get
            {
                return dRTowerStar.SpeedDownRateAddition;
            }
        }

        public float ContinuousDamageAddition
        {
            get
            {
                return dRTowerStar.ContinuousDamageAddition;
            }
        }

        public int PowerValue
        {
            get
            {
                return dRTowerStar.Fighting;
            }
        }

        public TowerStarData(DRTowerStar dRTowerStar)
        {
            this.dRTowerStar = dRTowerStar;
        }
    }
}
